<script type="text/javascript">
<!-- translations needed in javascript -->
var noResultsTranslation = "{% trans %}No results{% endtrans %}";
var loading_text = "{% trans %}Loading more items{% endtrans %}";
var jstree_loading = "{% trans %}Loading{% endtrans %} ...";
var waypoints_disp = "{% trans %}Displaying the first{% endtrans %} "
var waypoints_res = " {% trans %}results:{% endtrans %}"
var results_disp = "{% trans %}results displayed{% endtrans %}";
var results  = "{% trans %}All{% endtrans %}";
var all_vocabs  = "{% trans %}from all{% endtrans %}";
var n_selected = "{% trans %}selected{% endtrans %}";
var missing_value = "{% trans %}Value is required and can not be empty{% endtrans %}";

<!-- variables passed through to javascript -->
var lang = "{{ lang }}";
var vocab = "{{ vocab_id }}";
var path_fix = "{{ path_fix }}";
var base_url = "{{ parts }}";
var parts = "{{ uri_parts }}";
var qlang ="{{ query_lang }}";
</script>

<script type="text/javascript" src="{{ path_fix }}vendor/components/jquery/jquery.min.js"></script>
<script type="text/javascript" src="{{ path_fix }}vendor/components/jqueryui/ui/minified/jquery-ui.min.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/waypoints.min.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/config.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/jquery.jstree.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/hierarchy.js"></script>
<script type="text/javascript" src="{{ path_fix }}vendor/twitter/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/scripts.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/docready.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/jquery.mCustomScrollbar.min.js"></script>
<script type="text/javascript" src="{{ path_fix }}resource/js/bootstrap-multiselect.js"></script>
